/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cms.dataaccess;

import dto.Reviewcategory;
import java.util.List;

/**
 *
 * @author WU DAO BO
 */
public interface ReviewCategoryDAO {
     public Reviewcategory getReviewCategory(String catID);
     public List<Reviewcategory> getAllReviewCategories();
     public boolean updateReviewCategory(String catName,int weight);
      public boolean updateReviewCategory(Reviewcategory reviewCategory);
     public boolean deleteReviewCategory(String catName,int weight);
      public boolean deleteReviewCategory(Reviewcategory reviewCategory);
     
}
